//
// Linked list support.
//

typedef struct _LIST_ENTRY 
{
   struct _LIST_ENTRY *Flink;
   struct _LIST_ENTRY *Blink;
} LIST_ENTRY, *PLIST_ENTRY;

VOID BlRtlInitializeListHead(PLIST_ENTRY);

BOOLEAN BlRtlIsListEmpty(PLIST_ENTRY);

BOOLEAN BlRtlRemoveEntryList(PLIST_ENTRY);

PLIST_ENTRY BlRtlRemoveHeadList(PLIST_ENTRY);

PLIST_ENTRY BlRtlRemoveTailList(PLIST_ENTRY);

VOID BlRtlInsertTailList(PLIST_ENTRY, PLIST_ENTRY);

VOID BlRtlInsertHeadList(PLIST_ENTRY, PLIST_ENTRY);

